package com.laycoding.layrpc.annotation;

import com.laycoding.layrpc.config.client.LayRpcServiceScan;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
//spring中的注解,加载对应的类
@Import(LayRpcServiceScan.class)
@Documented
public @interface LayRpcScan {
    String basePackage();
}
